optionsResultAsync

inline suspend fun <T> HttpClient.optionsResultAsync(urlString: String, noinline block: HttpRequestBuilder.() -> Unit = {}): Deferred<Result<T>>

Executes an asynchronous HTTP OPTIONS request using the provided URL.

Return

A Deferred> representing the asynchronous operation.

Parameters

urlString

The URL for the OPTIONS request.

block

Optional, allows customization of the request using HttpRequestBuilder.